package com.sky.service;

import com.sky.vo.BusinessDataVO;
import com.sky.vo.OrderOverViewVO;
import com.sky.vo.SetmealOverViewVO;

import java.time.LocalDate;
import java.util.Map;

public interface WorkspaceService {

    /**
     * 查询今日运营数据
     *
     * @return
     */
    BusinessDataVO businessData(String format);

    /**
     * 查询套餐总览
     *
     * @return
     */
    SetmealOverViewVO overviewSetmeals();

    /**
     * 查询菜品总览
     *
     * @return
     */
    SetmealOverViewVO overviewDishes();

    /**
     * 查询订单管理数据
     *
     * @return
     */
    OrderOverViewVO overviewOrders();

    /**
     * 根据map动态查询运营数据
     *
     * @param begin
     * @param end
     * @return
     */
    BusinessDataVO businessDatas(LocalDate begin, LocalDate end);

}